package org.zju.demo.shoppingdemo.model.response;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by ZJDX on 2015/8/28.
 */
public class ResponseOrder {
    @SerializedName("order_id")
    private int orderId;
    @SerializedName("time")
    private String time;
    @SerializedName("total_price")
    private float totalPrice;
    @SerializedName("finished")
    private int finished;
    @SerializedName("address")
    private String address;
    @SerializedName("products")
    private List<Item> products;

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public float getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(float totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getFinished() {
        return finished;
    }

    public void setFinished(int finished) {
        this.finished = finished;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<Item> getProducts() {
        return products;
    }

    public void setProducts(List<Item> products) {
        this.products = products;
    }
}
